
// 重置浏览器对象默认属性
body,
ol,
ul,
li,
dl,
dd,
dt,
p,
h1,
h2,
h3,
h4,
h5 {
    margin: 0px;
    padding: 0px;
    list-style: none;
}
a,
a:hover {
    text-decoration: none;
}
//自定义webfont
body {
    background-color: @backgroundColor;
    font-family: 'PingHei', 'PingFang SC', '\5FAE\8F6F\96C5\9ED1', 'Helvetica', 'Arial', sans-serif;
    font-size: 14px;
}
html, body {
    width: 100%;
    height: 100%;
}
//重置bootstrap样式
a {
    color: @mainColor;
}
.table .icon {
    display: inline-block;
    width: 20px !important;
    height: 20px !important;
    text-align: center;
    line-height: 20px !important;
    cursor: pointer;
    &:hover {
        .border-radius(20px);
        background-color: @mainColor;
        color: #fff;
    }
}
.popover {
    font-family: '\5FAE\8F6F\96C5\9ED1';
    line-height: 22px;
}
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-xs-1,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9 {
    padding: 0px 10px;
}
.col-xs-m2 {
    width: 20%;
    float: left;
    position: relative;
    min-height: 1px;
}

.modal-content {
    .border-radius;
}
.modal-header {
    background-color: @mainColor;
    color: #fff;
    padding: 10px 15px;
    h4 {
        font-size: 14px;
    }
    .close {
        color: #fff;
        .opacity(1);
        font-weight: normal;
    }
    &.register {
        background-color: #fff;
        padding: 15px;
        .close {
            color: #000;
        }
    }
}
.modal-footer {
    border-top: none;
}

.btn-default {
    padding: 6px 14px;
}
.btn.btn-danger {
    background-color: #ff1b15;
    border-color: #ff1b15;
    padding: 6px 14px;
}

.btns-switch {
    /*border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*/
    border-radius: 4px;
    overflow: hidden;
    margin-right: 12px;
}
.btn-radio {
    padding: 0px 12px;
    height: 30px;
    line-height: 28px;
    color: #333;
    background-color: #f0f0f0;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-color: #fff;
    border-color: #ccc;
    &:hover {
        color: #333;
    }
}

.btn-radio.active {
    background-color: @mainColor;
    color: #fff;
    border-color: @mainColor;
    .box-no-shadow();
}

.tooltip-inner {
    white-space: nowrap;
    padding: 6px 8px;
}
.group-dialog {
    .modal-dialog {
        width: 400px;
    }
}
.panel {
    position: relative;
    padding: @padding-md;
    box-shadow: none;
    border: none;
}
.panel-layout {
    padding: 15px;
}
.full-panel {
    position: fixed;
    left: 20px;
    top: 20px;
    right: 20px;
    bottom: 0px;
    height: auto !important;
    z-index: 999;
}
.panel-action {
    i {
        cursor: pointer;
        width: 24px;
        height: 24px;
        vertical-align: middle;
        line-height: 24px;
        text-align: center;
        display: inline-block;
        font-weight: normal;
        color: #666;
        &:hover {
            background-color: @mainColor;
            color: #fff;
            .border-radius(24px);
        }
    }
}
.panel-heading > div {
    height: 30px;
    line-height: 30px;
    color: @headFontColor;
    .icon-download {
        font-weight: normal;
        cursor: pointer;
        margin-left: 10px;
        color: #1d3650;
        &:hover {
            color: #4d9dff;
        }
    }
}
.table > tbody > tr.active > td,
.table > tbody > tr > td.active {
    background-color: #d8ecff;
}

//消息框及弹出对话框
.myalert {
    .modal-header {
    }
    .modal-dialog {
        margin-top: 200px;
    }
    .modal-body {
        display: table;
        p {
            display: table-cell;
            vertical-align: middle;
            word-wrap: break-word;
            word-break: normal;
            i {
                font-size: 32px;
                color: #d9534f;
                margin-right: 10px;
                &.glyphicon-primary {
                    color: @mainColor;
                    &:before {
                        content: '\e086';
                    }
                }
                &.glyphicon-success {
                    color: #5cb85c;
                    &:before {
                        content: '\e084';
                    }
                }
                &.glyphicon-warning {
                    color: #f0ad4e;
                    &:before {
                        content: '\e107';
                    }
                }
                &.glyphicon-danger {
                    color: #ff1b15;
                    &:before {
                        content: '\e101';
                    }
                }
            }
        }

        select.ipt-txt {
            max-width: 230px;
        }
    }

    .modal-footer {
        .btn-primary {
            background: @mainColor;
            border-color: @mainColor;
            padding: 6px 14px;
        }
    }
}

.nav.nav-tabs {
    li {
        a,a:hover,a:focus {
            border: none;
            cursor: pointer;
            color: @headFontColor;
            background-color: white;
        }
        &.active {
            a,a:hover{
                border: none;
                border-bottom: 3px solid @mainColor;
            }
        }
    }
}